const DEBUG = 'http://192.168.1.153:8082/';
const RELEASE = 'http://api.hubeihxkj.com/';
const PRODUCTION = true;
const HOST = PRODUCTION ? RELEASE : DEBUG;
const api = {
    HOST,
    oauth: '/oauth',
    userInfo: '/api/user/name',
    userInfoWithId: '/api/user',
    areaList: '/api/area',
    postList: 'api/v1/posts',
    changePassword: 'api/user/password',
    newPost: '/api/posts',
    newGroupPost: '/api/groupPosts',
    commentList: '/api/comment',
    myGroupList: '/api/v1/groups',
    newComment: 'api/comment',
    deleteComment: 'api/v1/comment',
    postComment: 'api/posts/comment',
    groupPostComment: 'api/groupPosts/comment',
    groupLeave: 'api/v1/outGroup',
    groupJoin: 'api/v1/joinGroup',
    groupPosts: 'api/v1/findGroupPost',
    upload: 'api/accessory/upload',
    praise: 'api/v1/praise',
    search: 'api/v1/directory',
    activeList: 'api/v1/findAllActivity',
    filterActiveList: 'api/v1/findActivityByType',
    userJoinedActiveList: 'api/v1/findActivityByUser',
    hotMembers: 'api/v1/hotMembers',
    activeTypeList: 'api/activityType',
    joinActive: 'api/v1/joinActivity',
    guests: 'api/guest',
    questionType: 'api/questionType',
    areaUser: 'api/v1/findAreaUser',
    support: 'api/support',
    isFollow: 'api/v1/isFollow',
    follow: 'api/v1/follow',
    colleague: 'api/v1/member/colleague',
    roomList: 'api/rooms',
    roomBookedInfo: 'api/rooms/booked',
    roomReserve: 'api/rooms/reserve',
    tags: 'api/tags',
    chatList: 'api/v1/friendslist',
    messageList: 'api/basemessage/search',
    saveMessage: 'api/basemessage',
    contact: 'api/v1/contact',
    searchUser: 'api/v1/findByNickName',
};
export default api;
